﻿using System;
using System.Web.UI;

public partial class MamiMasterPage : MasterPage
{
    //Users currentUser = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            //currentUser = Session["SiteUser"] as Users;
            repLeftMenu.DataSource = Entities.GetCategories(0);
            repLeftMenu.DataBind();
            if (!RightContentHolder.Visible)
            {
                lblCustomScripts.Text += "<style type=\"text/css\">#col-two {width:792px;!important}</style>";
            }
            //if (currentUser.UserName == "administrator")
            //{
            //    ulAdministrare.Visible = true;
            //}
        }
        catch (Exception ex)
        {
            Response.Write(ex.ToString());
        }
    }
}